from rest_framework import serializers

from database.models import *


class GetUserCarRecordListSerializer(serializers.ModelSerializer):
    class Meta:
        model = UserCarRecord
        fields = (
            'pk',
            'goods',
            'unit',
            'number',
        )
